package com.zlc.workflow.core.instance.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 查询退回节点
 */
@Data
@ApiModel
public class RejectNodeVo {

    @ApiModelProperty(value = "节点")
    private String nodeId;

    @ApiModelProperty(value = "节点名称")
    private String nodeName;

    @ApiModelProperty(value = "时间")
    private Date time;

    @ApiModelProperty(value = "节点审批人")
    private List<RejectApproveUser> users;

    public static class RejectApproveUser extends NodeApproveUser{

        @ApiModelProperty(value = "任务ID")
        private String taskId;

        private Date time;

        public Date getTime() {
            return time;
        }

        public void setTime(Date time) {
            this.time = time;
        }

        public String getTaskId() {
            return taskId;
        }

        public void setTaskId(String taskId) {
            this.taskId = taskId;
        }
    }

}
